package com.akaovi.pojo;

public interface OthersPay {
    /**
     * 每月加班费
     * @return 每月加班费
     */
    double overtimePay();

    /**
     * 输出每月的加班费
     */
    default void showOvertimePay() {
        System.out.printf("加班费: %f\n", overtimePay());
    }
}
